package com.logwire.dto.query;import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;import org.apache.commons.lang3.ObjectUtils;@Datapublic class BaseUserTenantQuery extends BaseQuery {	/**	 * 用户id	 */	@Schema(description = "用户id")	private Long userId;	/**	 * 是否启用	 */	@Schema(description = "默认标识")	private Boolean enable;	@Override	public QueryWrapper getWhere() {		final QueryWrapper<Object> objectQueryWrapper = new QueryWrapper<>();		if (ObjectUtils.isNotEmpty(userId)) {			objectQueryWrapper.eq("user_id", userId);		}		if (ObjectUtils.isNotEmpty(enable)) {			objectQueryWrapper.eq("enable", enable);		}		return super.getWhere();	}}